package com.gmsk.pocket.entity;

import java.util.Date;
import java.util.List;

public class Doc {
    private Integer id;

    private String name;

    private String department;

    private Date createTime;

    private Integer docType;

    private Integer secret;

    private Date timeLimitStart;

    private Date timeLimitEnd;

    private String area;

    private Date uploadTime;

    private Integer uploadUser;

    private String remark;

    private List<Integer> docIds;

    private List<DocFile> docFiles;

    public Doc(Integer id, String name, String department, Date createTime, Integer docType, Integer secret, Date timeLimitStart, Date timeLimitEnd, String area, Date uploadTime, Integer uploadUser, String remark) {
        this.id = id;
        this.name = name;
        this.department = department;
        this.createTime = createTime;
        this.docType = docType;
        this.secret = secret;
        this.timeLimitStart = timeLimitStart;
        this.timeLimitEnd = timeLimitEnd;
        this.area = area;
        this.uploadTime = uploadTime;
        this.uploadUser = uploadUser;
        this.remark = remark;
    }

    public Doc(Integer id, String name, String department, Date createTime, Integer docType, Integer secret, Date timeLimitStart, Date timeLimitEnd, String area, Date uploadTime, Integer uploadUser, String remark, List<Integer> docIds, List<DocFile> docFiles) {
        this.id = id;
        this.name = name;
        this.department = department;
        this.createTime = createTime;
        this.docType = docType;
        this.secret = secret;
        this.timeLimitStart = timeLimitStart;
        this.timeLimitEnd = timeLimitEnd;
        this.area = area;
        this.uploadTime = uploadTime;
        this.uploadUser = uploadUser;
        this.remark = remark;
        this.docIds = docIds;
        this.docFiles = docFiles;
    }

    public Doc() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department == null ? null : department.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getDocType() {
        return docType;
    }

    public void setDocType(Integer docType) {
        this.docType = docType;
    }

    public Integer getSecret() {
        return secret;
    }

    public void setSecret(Integer secret) {
        this.secret = secret;
    }

    public Date getTimeLimitStart() {
        return timeLimitStart;
    }

    public void setTimeLimitStart(Date timeLimitStart) {
        this.timeLimitStart = timeLimitStart;
    }

    public Date getTimeLimitEnd() {
        return timeLimitEnd;
    }

    public void setTimeLimitEnd(Date timeLimitEnd) {
        this.timeLimitEnd = timeLimitEnd;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area == null ? null : area.trim();
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public Integer getUploadUser() {
        return uploadUser;
    }

    public void setUploadUser(Integer uploadUser) {
        this.uploadUser = uploadUser;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public List<Integer> getDocIds() {
        return docIds;
    }

    public void setDocIds(List<Integer> docIds) {
        this.docIds = docIds;
    }

    public List<DocFile> getDocFiles() {
        return docFiles;
    }

    public void setDocFiles(List<DocFile> docFiles) {
        this.docFiles = docFiles;
    }
}